import { baseRequest } from "@/utils/request";

const request = (url, ...arg) => baseRequest(`/api/productionProcess/${url}`, ...arg)

export default {
    //新增产品工序信息
    addProductionProcess(data) {
        return request('AddProductionProcessAsync', data)
    },
    //绑定产品工序信息
    bindProductionProcess(data) {
        return request('QueryProductionProcessAsync', data, 'get')
    }
}